PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

person_employees

Creates a person_employees resource.

Creates a person_employees resource.

Authorizations:
JWT
path Parameters
id
required
string

person_employees identifier

Request Body schema:
required

The new person_employees resource

prospects
Array of strings <iri-reference> [ items <iri-reference > ]
projects
Array of strings <iri-reference> [ items <iri-reference > ]
inchargeProjects
Array of strings <iri-reference> [ items <iri-reference > ]
tasks
Array of strings <iri-reference> [ items <iri-reference > ]
tasksSent
Array of strings <iri-reference> [ items <iri-reference > ]
projectSectors
Array of strings <iri-reference> [ items <iri-reference > ]
followups
Array of strings <iri-reference> [ items <iri-reference > ]
recallFollowups
Array of strings <iri-reference> [ items <iri-reference > ]
invoices
Array of strings <iri-reference> [ items <iri-reference > ]
clients
Array of strings <iri-reference> [ items <iri-reference > ]
employees
Array of strings <iri-reference> [ items <iri-reference > ]
suppliers
Array of strings <iri-reference> [ items <iri-reference > ]
timesheets
Array of strings <iri-reference> [ items <iri-reference > ]
payrolls
Array of strings <iri-reference> [ items <iri-reference > ]
t4s
Array of strings <iri-reference> [ items <iri-reference > ]
bills
Array of strings <iri-reference> [ items <iri-reference > ]
allowances
Array of strings <iri-reference> [ items <iri-reference > ]
bonis
Array of strings <iri-reference> [ items <iri-reference > ]
sentBonis
Array of strings <iri-reference> [ items <iri-reference > ]
responsibleRents
Array of strings <iri-reference> [ items <iri-reference > ]
rents
Array of strings <iri-reference> [ items <iri-reference > ]
schedules
Array of strings <iri-reference> [ items <iri-reference > ]
madeSchedules
Array of strings <iri-reference> [ items <iri-reference > ]
person
required
string <iri-reference>

Get person.

responsible
string or null <iri-reference>
sector
string <iri-reference>
type
string <iri-reference>
workingType
string <iri-reference>
hourSalary
required
string
Default: 15
hiringDate
string <date-time>
dateEndOfContract
string or null <date-time>
vacancy
required
string
Default: 0.04
nas
string or null = 9 characters
responsibleSectors
Array of strings <iri-reference> [ items <iri-reference > ]
inSchedule
boolean
reservable
boolean
overtime
boolean
Default: true
payRrq
boolean
Default: true
payAssemp
boolean
Default: true
payFss
boolean
Default: true
payRqap
boolean
Default: true
payRpc
boolean
Default: true
payCsst
boolean
Default: true
payFedTaxes
boolean
Default: true
payProvTaxes
boolean
Default: true
annualDeductionFed
required
string
annualDeductionProv
required
string
annualTaxableBenefits
required
string
voluntaryRetirementSavingsPlan
required
string
registeredRetirementSavingsPlan
required
string
taxFreeSavingAccount
required
string
code
string or null
notes
string or null
internalNotes
string or null
holidayPaymentAnnually
boolean
estimatedTime
required
string
Default: 40
paymentTime
integer or null
owningCorporation
string <iri-reference>
deletedAt
string or null <date-time>
slug
required
string

DB Identifier

customProperties
any

Can contain anything (array, objects, nested objects...).

customData
Array of strings or null
createdAt
string <date-time>
updatedAt
string <date-time>
disabledAt
string or null <date-time>
object (Collection.jsonld)
upload_filename
string
upload_subfolder
string
upload_file
string
upload_file_link
string
employeeType
string <iri-reference>

Get type.

timestamp
string <date-time>

Get createdAt.

upload_Subfolder
string
upload_File
string
upload_File_Link
string

Responses

Request samples

Content type
{}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "person": {
    },
  • "responsible": { },
  • "sector": {
    },
  • "type": {
    },
  • "workingType": {
    },
  • "hourSalary": 15,
  • "hiringDate": "2019-08-24T14:15:22Z",
  • "dateEndOfContract": "2019-08-24T14:15:22Z",
  • "vacancy": 0.04,
  • "nas": "stringstr",
  • "inSchedule": true,
  • "reservable": true,
  • "overtime": true,
  • "payRrq": true,
  • "payAssemp": true,
  • "payFss": true,
  • "payRqap": true,
  • "payRpc": true,
  • "payCsst": true,
  • "payFedTaxes": true,
  • "payProvTaxes": true,
  • "annualDeductionFed": "string",
  • "annualDeductionProv": "string",
  • "annualTaxableBenefits": "string",
  • "voluntaryRetirementSavingsPlan": "string",
  • "registeredRetirementSavingsPlan": "string",
  • "taxFreeSavingAccount": "string",
  • "code": "string",
  • "notes": "string",
  • "holidayPaymentAnnually": true,
  • "estimatedTime": 40,
  • "paymentTime": 0,
  • "owningCorporation": {
    },
  • "shortcode": "E",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "employeeType": {
    },
  • "prospectsListing": "string",
  • "projectsListing": "string",
  • "inchargeProjectsListing": "string",
  • "clientsListing": "string",
  • "suppliersListing": "string",
  • "allowancesListing": "string",
  • "tasksListing": "string",
  • "tasksSentListing": "string",
  • "projectSectorsListing": "string",
  • "followupsListing": "string",
  • "recallFollowupsListing": "string",
  • "invoicesListing": "string",
  • "timesheetsListing": "string",
  • "payrollsListing": "string",
  • "t4sListing": "string",
  • "billsListing": "string",
  • "rentsListing": "string",
  • "responsibleRentsListing": "string",
  • "bonisListing": "string",
  • "sentBonisListing": "string",
  • "responsibleSectorsListing": [
    ],
  • "schedulesListing": "string",
  • "madeSchedulesListing": "string",
  • "employeeHolidayAmountToPay": 0,
  • "customPropertiesListing": "string",
  • "employeesListing": "string",
  • "defaultCoordinate": null,
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}